package com.dq.mapper;

import com.dq.pojo.Comment;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CommentMapper {
    public int addOneComment(Comment comment);
    public List<Comment> showCommentsByBlogId(String id);
}
